Home

Operator Usage

Name

TM-ket-hash

Description

Ket TM-ket-hash input-ket
hashes the given input ket into a relatively collision free, deterministic, hash
any coeffs will be preserved
if the input ket is empty, it returns the empty ket
mostly deprecates TM-sequence-hash
this operator is a member of the Template Machine set of operators


Examples

-- just a toy example:
TM-ket-hash 7|A B C D E>
    7|3444274951>


See also

Operator type

ket normal